<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>学生信息管理系统 - 注册页</title>

    <!-- 页面支持响应式 -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- 引入Bootstrap的css样式组件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

    <!-- 引入Bootstrap的js特效组件 -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
</head>
<body>

<!-- 顶部菜单 -->
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">

    <!--网站logo-->
    <a class="navbar-brand" href="#">
        <img src="https://v4.bootcss.com/docs/4.6/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top" alt="">
        学生信息管理系统
    </a>

    <!--下拉菜单-->
    <div class="dropdown">
        <button class="btn btn-success dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            登录或注册
        </button>
        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
            <a class="dropdown-item" href="#">登录</a>
            <a class="dropdown-item" href="#">注册</a>
        </div>
    </div>
</nav>

<!--表单div-->
<div class="container my-5 p-5">
    <h2 class="text-center">查看学生信息</h2>
    <hr/>
    <!-- 搜索表单 -->
    <form action="show.php" method="get">
        <div class="form-row">
            <div class="col-md-2">
                <input type="text" name="name" class="form-control" placeholder="姓名">
            </div>
            <div class="col-md-2">
                <input type="text" name="age" class="form-control" placeholder="年龄">
            </div>
            <div class="col-md-2">
                <input type="text" name="address" class="form-control" placeholder="地址">
            </div>
            <div class="col-md-2">
                <input type="text" name="email" class="form-control" placeholder="邮箱">
            </div>
            <div class="col-md-2">
                <input type="number" name="phone" class="form-control" placeholder="手机">
            </div>
            <div class="col-md-2">
                <button type="submit" class="btn btn-success">🔎&nbsp;&nbsp;&nbsp;开始搜索</button>
            </div>
        </div>
    </form>
    <hr/>
    <!-- 表单开始 -->
    <table class="table table-striped">
        <thead class="thead-dark">
        <tr class="text-center">
            <th scope="col">ID</th>
            <th scope="col">姓名</th>
            <th scope="col">性别</th>
            <th scope="col">年龄</th>
            <th scope="col">地址</th>
            <th scope="col">邮箱</th>
            <th scope="col">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr class="text-center">
            <th scope="row">1</th>
            <td>张三</td>
            <td>男</td>
            <td>18</td>
            <td>北京</td>
            <td>zhangsan@gmail.com</td>
            <td>
                <a href="#"><button type="button" class="btn btn-info">视频</button></a>
                <a href="#"><button type="button" class="btn btn-danger">删除</button></a>
                <a href="#"><button type="button" class="btn btn-warning">修改</button></a>
            </td>
        </tr>
        <tr class="text-center">
            <th scope="row">2</th>
            <td>李四</td>
            <td>女</td>
            <td>20</td>
            <td>天津</td>
            <td>lisi@gmail.com</td>
            <td>
                <a href="#"><button type="button" class="btn btn-info">视频</button></a>
                <a href="#"><button type="button" class="btn btn-danger">删除</button></a>
                <a href="#"><button type="button" class="btn btn-warning">修改</button></a>
            </td>
        </tr>
        <tr class="text-center">
            <th scope="row">1</th>
            <td>王五</td>
            <td>男</td>
            <td>30</td>
            <td>广州</td>
            <td>wangwu@gmail.com</td>
            <td>
                <a href="#"><button type="button" class="btn btn-info">视频</button></a>
                <a href="#"><button type="button" class="btn btn-danger">删除</button></a>
                <a href="#"><button type="button" class="btn btn-warning">修改</button></a>
            </td>
        </tr>
        <tr class="text-center">
            <th scope="row">1</th>
            <td>马六</td>
            <td>保密</td>
            <td>26</td>
            <td>惠州</td>
            <td>maliu@gmail.com</td>
            <td>
                <a href="#"><button type="button" class="btn btn-info">视频</button></a>
                <a href="#"><button type="button" class="btn btn-danger">删除</button></a>
                <a href="#"><button type="button" class="btn btn-warning">修改</button></a>
            </td>
        </tr>
        </tbody>
    </table>
    <!-- 分页按钮 -->
    <nav aria-label="Page navigation example">
        <ul class="pagination justify-content-center">
            <li class="page-item disabled">
                <a class="page-link" href="#" tabindex="-1" aria-disabled="true">首页</a>
            </li>
            <li class="page-item disabled">
                <a class="page-link" href="#" tabindex="-1" aria-disabled="true">上一页</a>
            </li>
            <li class="page-item active">
                <a class="page-link" href="#">1</a>
            </li>
            <li class="page-item">
                <a class="page-link" href="#">2</a>
            </li>
            <li class="page-item">
                <a class="page-link" href="#">下一页</a>
            </li>
            <li class="page-item">
                <a class="page-link" href="#">末页</a>
            </li>
        </ul>
    </nav>
</div>
</body>
</html>